- 
		Home
	
- 
SureCart – Ecommerce Made Easy For Selling Physical Products, Digital Downloads, Subscriptions, Donations, & Payments
- 
2.11.3
- 
Code
- 
Classes
-  CheckoutsController 
		
			
				
					
													
								
																			
											| Total Complexity | 56 | 
																			
											| Dependencies | 11 | 
																			
											| Dependents | 0 | 
																	
							 
													
								
																			
											| Total lines | 417 | 
																			
											| Lines of code | 194 | 
																			
											| Logical lines of code | 108 | 
																	
							 
													
								
																			
											| Comment lines | 174 | 
																			
											| Methods | 15 | 
																			
											| Properties | 1 | 
																	
							 
											 
				 
									
							 
		 
	 
	Methods 15
	
		
		
			| Method | Rating | Maintainability | Complexity | Lines of code | 
		
		
					
				| validateProductId() | A | 52 | 8 | 22 | 
					
				| confirm() | A | 49 | 7 | 34 | 
					
				| manuallyPay() | S | 54 | 6 | 22 | 
					
				| maybeSetUser() | S | 56 | 5 | 18 | 
					
				| validate() | S | 57 | 5 | 15 | 
					
				| edit() | S | 60 | 4 | 12 | 
					
				| finalize() | S | 59 | 3 | 15 | 
					
				| maybeValidateLoginCreds() | S | 65 | 4 | 9 | 
					
				| validateFinalizeRequest() | S | 65 | 3 | 9 | 
					
				| validateFormId() | S | 66 | 3 | 7 | 
					
				| maybeLoginUser() | S | 64 | 2 | 11 | 
					
				| middleware() | S | 73 | 2 | 4 | 
					
				| cancel() | S | 68 | 2 | 7 | 
					
				| getFormMode() | S | 80 | 1 | 3 | 
					
				| linkCustomerId() | S | 70 | 1 | 6 |